package com.example.Windturbine.Service;

import com.example.Windturbine.Controller.ViewObject.ResultGraphVO.ResultNode;
import com.example.Windturbine.Controller.ViewObject.ResultVO.ListResultVO;
import com.example.Windturbine.Controller.ViewObject.ResultVO.ProductGraphVO;
import com.example.Windturbine.Error.BusinessException;

import java.util.List;

/**
 * @Author 丁永新
 * @Date 2021/12/22
 */
public interface ProductResultService {
    ListResultVO getResult(Integer calid, Integer productid) throws BusinessException;

    ProductGraphVO getGraphResult(Integer cal_id, Integer product_id) throws BusinessException;

    void deleteById(Integer id) throws BusinessException;

    ResultNode getMetaResult(Integer cal_id, Integer product_id) throws BusinessException;
}
